import { Controller, Get } from '@nestjs/common'
import { Authorize } from './config/decorator/authorize.decorator'
import { ReturnMsg } from './config/decorator/return.decorator'

@Controller()
export class AppController {
  constructor() { }

  @Authorize()
  @ReturnMsg('你好啊')
  @Get()
  getHello() {
    return 1
  }
}
